package com.glory.wxelectricitypda.bean;

import com.google.gson.annotations.SerializedName;

import java.util.ArrayList;
import java.util.List;

public class ItemShelfEntity {

    @SerializedName("SAMEWORKORDERLOTS")
    private List<SAMEWORKORDERLOTSDTO> sameworkorderlots;
    @SerializedName("UNSAMEWORKORDERLOTS")
    private List<SAMEWORKORDERLOTSDTO> unsameworkorderlots;
    @SerializedName("LOTLIST")
    private List<LotBean.LotInfoBean> lotlist;
    @SerializedName("LOCATIONID")
    private String locationid;

    public List<SAMEWORKORDERLOTSDTO> getUnsameworkorderlots() {
        if (unsameworkorderlots == null) {
            return new ArrayList<>();
        }
        return unsameworkorderlots;
    }

    public void setUnsameworkorderlots(List<SAMEWORKORDERLOTSDTO> unsameworkorderlots) {
        this.unsameworkorderlots = unsameworkorderlots;
    }

    public List<LotBean.LotInfoBean> getLotlist() {
        if (lotlist == null) {
            return new ArrayList<>();
        }
        return lotlist;
    }

    public void setLotlist(List<LotBean.LotInfoBean> lotlist) {
        this.lotlist = lotlist;
    }

    public List<SAMEWORKORDERLOTSDTO> getSameworkorderlots() {
        if (sameworkorderlots == null) {
            return new ArrayList<>();
        }
        return sameworkorderlots;
    }

    public void setSameworkorderlots(List<SAMEWORKORDERLOTSDTO> sameworkorderlots) {
        this.sameworkorderlots = sameworkorderlots;
    }

    public String getLocationid() {
        return locationid == null ? "" : locationid;
    }

    public void setLocationid(String locationid) {
        this.locationid = locationid;
    }

    public static class SAMEWORKORDERLOTSDTO {
        @SerializedName("mainQty")
        private int mainQty;
        @SerializedName("operator1")
        private String operator1;
        @SerializedName("subUnitType")
        private String subUnitType;
        @SerializedName("lotId")
        private String lotId;
        @SerializedName("lotType")
        private String lotType;
        @SerializedName("substrateId1")
        private String substrateId1;
        @SerializedName("substrateId2")
        private String substrateId2;
        @SerializedName("partRrn")
        private int partRrn;
        @SerializedName("partName")
        private String partName;
        @SerializedName("partVersion")
        private int partVersion;
        @SerializedName("partType")
        private String partType;
        @SerializedName("partDesc")
        private String partDesc;
        @SerializedName("customerCode")
        private String customerCode;
        @SerializedName("customerOrder")
        private String customerOrder;
        @SerializedName("customerPartId")
        private String customerPartId;
        @SerializedName("priority")
        private int priority;
        @SerializedName("woId")
        private String woId;
        @SerializedName("locatorId")
        private String locatorId;
        @SerializedName("location")
        private String location;
        @SerializedName("position")
        private String position;
        @SerializedName("lineId")
        private String lineId;
        @SerializedName("stageId")
        private String stageId;
        @SerializedName("startMainQty")
        private int startMainQty;
        @SerializedName("startTime")
        private long startTime;
        @SerializedName("queueTime")
        private long queueTime;
        @SerializedName("trackInMainQty")
        private int trackInMainQty;
        @SerializedName("trackInTime")
        private long trackInTime;
        @SerializedName("trackOutMainQty")
        private int trackOutMainQty;
        @SerializedName("trackOutTime")
        private long trackOutTime;
        @SerializedName("isSubLot")
        private boolean isSubLot;
        @SerializedName("comClass")
        private String comClass;
        @SerializedName("state")
        private String state;
        @SerializedName("stateEntryTime")
        private long stateEntryTime;
        @SerializedName("preTransType")
        private String preTransType;
        @SerializedName("preComClass")
        private String preComClass;
        @SerializedName("preState")
        private String preState;
        @SerializedName("curSeq")
        private String curSeq;
        @SerializedName("processInstanceRrn")
        private int processInstanceRrn;
        @SerializedName("processRrn")
        private int processRrn;
        @SerializedName("processName")
        private String processName;
        @SerializedName("processVersion")
        private int processVersion;
        @SerializedName("procedureRrn")
        private int procedureRrn;
        @SerializedName("procedureName")
        private String procedureName;
        @SerializedName("procedureVersion")
        private int procedureVersion;
        @SerializedName("stepRrn")
        private int stepRrn;
        @SerializedName("stepName")
        private String stepName;
        @SerializedName("stepVersion")
        private int stepVersion;
        @SerializedName("stepDesc")
        private String stepDesc;
        @SerializedName("holdState")
        private String holdState;
        @SerializedName("reworkStackCount")
        private int reworkStackCount;
        @SerializedName("reworkCount")
        private int reworkCount;
        @SerializedName("useCount")
        private int useCount;
        @SerializedName("lastEquipmentId")
        private String lastEquipmentId;
        @SerializedName("lastStepName")
        private String lastStepName;
        @SerializedName("isPilot")
        private boolean isPilot;
        @SerializedName("checkWoLowYieldFlag")
        private boolean checkWoLowYieldFlag;
        @SerializedName("constraintFlag")
        private boolean constraintFlag;
        @SerializedName("messageList")
        private List<?> messageList;
        @SerializedName("mainLot")
        private boolean mainLot;
        @SerializedName("partId")
        private String partId;
        @SerializedName("procedureId")
        private String procedureId;
        @SerializedName("stepId")
        private String stepId;
        @SerializedName("messageString")
        private String messageString;
        @SerializedName("cstate")
        private String cstate;
        @SerializedName("processId")
        private String processId;
        @SerializedName("ORGRRN")
        private int orgrrn;
        @SerializedName("ISACTIVE")
        private boolean isactive;
        @SerializedName("CREATED")
        private String created;
        @SerializedName("CREATEDBY")
        private String createdby;
        @SerializedName("UPDATED")
        private String updated;
        @SerializedName("UPDATEDBY")
        private String updatedby;
        @SerializedName("OBJECTRRN")
        private int objectrrn;

        public int getMainQty() {
            return mainQty;
        }

        public void setMainQty(int mainQty) {
            this.mainQty = mainQty;
        }

        public String getOperator1() {
            return operator1 == null ? "" : operator1;
        }

        public void setOperator1(String operator1) {
            this.operator1 = operator1;
        }

        public String getSubUnitType() {
            return subUnitType == null ? "" : subUnitType;
        }

        public void setSubUnitType(String subUnitType) {
            this.subUnitType = subUnitType;
        }

        public String getLotId() {
            return lotId == null ? "" : lotId;
        }

        public void setLotId(String lotId) {
            this.lotId = lotId;
        }

        public String getLotType() {
            return lotType == null ? "" : lotType;
        }

        public void setLotType(String lotType) {
            this.lotType = lotType;
        }

        public String getSubstrateId1() {
            return substrateId1 == null ? "" : substrateId1;
        }

        public void setSubstrateId1(String substrateId1) {
            this.substrateId1 = substrateId1;
        }

        public String getSubstrateId2() {
            return substrateId2 == null ? "" : substrateId2;
        }

        public void setSubstrateId2(String substrateId2) {
            this.substrateId2 = substrateId2;
        }

        public int getPartRrn() {
            return partRrn;
        }

        public void setPartRrn(int partRrn) {
            this.partRrn = partRrn;
        }

        public String getPartName() {
            return partName == null ? "" : partName;
        }

        public void setPartName(String partName) {
            this.partName = partName;
        }

        public int getPartVersion() {
            return partVersion;
        }

        public void setPartVersion(int partVersion) {
            this.partVersion = partVersion;
        }

        public String getPartType() {
            return partType == null ? "" : partType;
        }

        public void setPartType(String partType) {
            this.partType = partType;
        }

        public String getPartDesc() {
            return partDesc == null ? "" : partDesc;
        }

        public void setPartDesc(String partDesc) {
            this.partDesc = partDesc;
        }

        public String getCustomerCode() {
            return customerCode == null ? "" : customerCode;
        }

        public void setCustomerCode(String customerCode) {
            this.customerCode = customerCode;
        }

        public String getCustomerOrder() {
            return customerOrder == null ? "" : customerOrder;
        }

        public void setCustomerOrder(String customerOrder) {
            this.customerOrder = customerOrder;
        }

        public String getCustomerPartId() {
            return customerPartId == null ? "" : customerPartId;
        }

        public void setCustomerPartId(String customerPartId) {
            this.customerPartId = customerPartId;
        }

        public int getPriority() {
            return priority;
        }

        public void setPriority(int priority) {
            this.priority = priority;
        }

        public String getWoId() {
            return woId == null ? "" : woId;
        }

        public void setWoId(String woId) {
            this.woId = woId;
        }

        public String getLocatorId() {
            return locatorId == null ? "" : locatorId;
        }

        public void setLocatorId(String locatorId) {
            this.locatorId = locatorId;
        }

        public String getLocation() {
            return location == null ? "" : location;
        }

        public void setLocation(String location) {
            this.location = location;
        }

        public String getPosition() {
            return position == null ? "" : position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public String getLineId() {
            return lineId == null ? "" : lineId;
        }

        public void setLineId(String lineId) {
            this.lineId = lineId;
        }

        public String getStageId() {
            return stageId == null ? "" : stageId;
        }

        public void setStageId(String stageId) {
            this.stageId = stageId;
        }

        public int getStartMainQty() {
            return startMainQty;
        }

        public void setStartMainQty(int startMainQty) {
            this.startMainQty = startMainQty;
        }

        public long getStartTime() {
            return startTime;
        }

        public void setStartTime(long startTime) {
            this.startTime = startTime;
        }

        public long getQueueTime() {
            return queueTime;
        }

        public void setQueueTime(long queueTime) {
            this.queueTime = queueTime;
        }

        public int getTrackInMainQty() {
            return trackInMainQty;
        }

        public void setTrackInMainQty(int trackInMainQty) {
            this.trackInMainQty = trackInMainQty;
        }

        public long getTrackInTime() {
            return trackInTime;
        }

        public void setTrackInTime(long trackInTime) {
            this.trackInTime = trackInTime;
        }

        public int getTrackOutMainQty() {
            return trackOutMainQty;
        }

        public void setTrackOutMainQty(int trackOutMainQty) {
            this.trackOutMainQty = trackOutMainQty;
        }

        public long getTrackOutTime() {
            return trackOutTime;
        }

        public void setTrackOutTime(long trackOutTime) {
            this.trackOutTime = trackOutTime;
        }

        public boolean isSubLot() {
            return isSubLot;
        }

        public void setSubLot(boolean subLot) {
            isSubLot = subLot;
        }

        public String getComClass() {
            return comClass == null ? "" : comClass;
        }

        public void setComClass(String comClass) {
            this.comClass = comClass;
        }

        public String getState() {
            return state == null ? "" : state;
        }

        public void setState(String state) {
            this.state = state;
        }

        public long getStateEntryTime() {
            return stateEntryTime;
        }

        public void setStateEntryTime(long stateEntryTime) {
            this.stateEntryTime = stateEntryTime;
        }

        public String getPreTransType() {
            return preTransType == null ? "" : preTransType;
        }

        public void setPreTransType(String preTransType) {
            this.preTransType = preTransType;
        }

        public String getPreComClass() {
            return preComClass == null ? "" : preComClass;
        }

        public void setPreComClass(String preComClass) {
            this.preComClass = preComClass;
        }

        public String getPreState() {
            return preState == null ? "" : preState;
        }

        public void setPreState(String preState) {
            this.preState = preState;
        }

        public String getCurSeq() {
            return curSeq == null ? "" : curSeq;
        }

        public void setCurSeq(String curSeq) {
            this.curSeq = curSeq;
        }

        public int getProcessInstanceRrn() {
            return processInstanceRrn;
        }

        public void setProcessInstanceRrn(int processInstanceRrn) {
            this.processInstanceRrn = processInstanceRrn;
        }

        public int getProcessRrn() {
            return processRrn;
        }

        public void setProcessRrn(int processRrn) {
            this.processRrn = processRrn;
        }

        public String getProcessName() {
            return processName == null ? "" : processName;
        }

        public void setProcessName(String processName) {
            this.processName = processName;
        }

        public int getProcessVersion() {
            return processVersion;
        }

        public void setProcessVersion(int processVersion) {
            this.processVersion = processVersion;
        }

        public int getProcedureRrn() {
            return procedureRrn;
        }

        public void setProcedureRrn(int procedureRrn) {
            this.procedureRrn = procedureRrn;
        }

        public String getProcedureName() {
            return procedureName == null ? "" : procedureName;
        }

        public void setProcedureName(String procedureName) {
            this.procedureName = procedureName;
        }

        public int getProcedureVersion() {
            return procedureVersion;
        }

        public void setProcedureVersion(int procedureVersion) {
            this.procedureVersion = procedureVersion;
        }

        public int getStepRrn() {
            return stepRrn;
        }

        public void setStepRrn(int stepRrn) {
            this.stepRrn = stepRrn;
        }

        public String getStepName() {
            return stepName == null ? "" : stepName;
        }

        public void setStepName(String stepName) {
            this.stepName = stepName;
        }

        public int getStepVersion() {
            return stepVersion;
        }

        public void setStepVersion(int stepVersion) {
            this.stepVersion = stepVersion;
        }

        public String getStepDesc() {
            return stepDesc == null ? "" : stepDesc;
        }

        public void setStepDesc(String stepDesc) {
            this.stepDesc = stepDesc;
        }

        public String getHoldState() {
            return holdState == null ? "" : holdState;
        }

        public void setHoldState(String holdState) {
            this.holdState = holdState;
        }

        public int getReworkStackCount() {
            return reworkStackCount;
        }

        public void setReworkStackCount(int reworkStackCount) {
            this.reworkStackCount = reworkStackCount;
        }

        public int getReworkCount() {
            return reworkCount;
        }

        public void setReworkCount(int reworkCount) {
            this.reworkCount = reworkCount;
        }

        public int getUseCount() {
            return useCount;
        }

        public void setUseCount(int useCount) {
            this.useCount = useCount;
        }

        public String getLastEquipmentId() {
            return lastEquipmentId == null ? "" : lastEquipmentId;
        }

        public void setLastEquipmentId(String lastEquipmentId) {
            this.lastEquipmentId = lastEquipmentId;
        }

        public String getLastStepName() {
            return lastStepName == null ? "" : lastStepName;
        }

        public void setLastStepName(String lastStepName) {
            this.lastStepName = lastStepName;
        }

        public boolean isPilot() {
            return isPilot;
        }

        public void setPilot(boolean pilot) {
            isPilot = pilot;
        }

        public boolean isCheckWoLowYieldFlag() {
            return checkWoLowYieldFlag;
        }

        public void setCheckWoLowYieldFlag(boolean checkWoLowYieldFlag) {
            this.checkWoLowYieldFlag = checkWoLowYieldFlag;
        }

        public boolean isConstraintFlag() {
            return constraintFlag;
        }

        public void setConstraintFlag(boolean constraintFlag) {
            this.constraintFlag = constraintFlag;
        }

        public List<?> getMessageList() {
            if (messageList == null) {
                return new ArrayList<>();
            }
            return messageList;
        }

        public void setMessageList(List<?> messageList) {
            this.messageList = messageList;
        }

        public boolean isMainLot() {
            return mainLot;
        }

        public void setMainLot(boolean mainLot) {
            this.mainLot = mainLot;
        }

        public String getPartId() {
            return partId == null ? "" : partId;
        }

        public void setPartId(String partId) {
            this.partId = partId;
        }

        public String getProcedureId() {
            return procedureId == null ? "" : procedureId;
        }

        public void setProcedureId(String procedureId) {
            this.procedureId = procedureId;
        }

        public String getStepId() {
            return stepId == null ? "" : stepId;
        }

        public void setStepId(String stepId) {
            this.stepId = stepId;
        }

        public String getMessageString() {
            return messageString == null ? "" : messageString;
        }

        public void setMessageString(String messageString) {
            this.messageString = messageString;
        }

        public String getCstate() {
            return cstate == null ? "" : cstate;
        }

        public void setCstate(String cstate) {
            this.cstate = cstate;
        }

        public String getProcessId() {
            return processId == null ? "" : processId;
        }

        public void setProcessId(String processId) {
            this.processId = processId;
        }

        public int getOrgrrn() {
            return orgrrn;
        }

        public void setOrgrrn(int orgrrn) {
            this.orgrrn = orgrrn;
        }

        public boolean isIsactive() {
            return isactive;
        }

        public void setIsactive(boolean isactive) {
            this.isactive = isactive;
        }

        public String getCreated() {
            return created == null ? "" : created;
        }

        public void setCreated(String created) {
            this.created = created;
        }

        public String getCreatedby() {
            return createdby == null ? "" : createdby;
        }

        public void setCreatedby(String createdby) {
            this.createdby = createdby;
        }

        public String getUpdated() {
            return updated == null ? "" : updated;
        }

        public void setUpdated(String updated) {
            this.updated = updated;
        }

        public String getUpdatedby() {
            return updatedby == null ? "" : updatedby;
        }

        public void setUpdatedby(String updatedby) {
            this.updatedby = updatedby;
        }

        public int getObjectrrn() {
            return objectrrn;
        }

        public void setObjectrrn(int objectrrn) {
            this.objectrrn = objectrrn;
        }
    }
}
